package com.tyl.arrray;

import java.util.Scanner;

public class tyl2 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);//new Scanner(System.in)
        int[] arr=new int[5];
        for (int i = 0; i < 5; i++) {
            for (int j = 0; j < 5-i-1; j++) {
                if (arr[j] <arr[j+1]) {
                    int temp= arr[j];
                    arr[j]=arr[j+1];
                    arr[j+1]=temp;
                }
            }
        }

    }
}
